home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / util / batch / Mousek.lha / MouseK / mousek.doc < prev    next >
Text File  |  1994-10-04  |  821b  |  36 lines

  1. Mousek 1.1 (7/5/94) ©1994 Michael Askin
  2. ---------------------------------------
  3.  
  4. This simple program simply sets the return code depending on the status of
  5. the mouse buttons...
  6.  
  7. 0 - No mouse buttons pressed
  8.  
  9. 1 - Left mouse button pressed
  10.  
  11. 2 - Right mouse button pressed
  12.  
  13. 3 - Both mouse buttons pressed
  14.  
  15. What you do with it after then is up to you. In my startup sequence, first
  16. line I have :
  17.  
  18. mousek
  19. if $rc eq 1
  20.    quit
  21. endif
  22.  
  23. This will stop the Startup-sequence from executing further if the left
  24. button was pressed when mousek was run.
  25.  
  26. There is no output, no args, only a version string, and was written in
  27. AmigaE. This makes the executable pretty small.
  28.  
  29. Have fun with it,
  30.  
  31. Mike - M.C.Askin@electronic-engineering@hull.ac.uk (till Aug '96)
  32.  
  33. or Snail Mail:
  34.  
  35. 54 York Rd, Greenwood Ave, Hull, E.Yorks, England. HU6 9RA.
  36.